package com.jomoo.scs.service.product.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jomoo.scs.dto.product.ProductClassDTO;
import com.jomoo.scs.mapper.product.ProductClassMapper;
import com.jomoo.scs.service.product.ProductClassService;
@Service
public class ProductClassServiceImpl implements ProductClassService {

	@Autowired
	private ProductClassMapper productClassMapper;

	@Override
	public List<ProductClassDTO> selectByPcparentnumber(String pnumber, String channel) {
		return productClassMapper.selectByPcparentnumber(pnumber, channel);
	}

	@Override
	public ProductClassDTO selectByPcnumber(String pcnumber) {
		return productClassMapper.selectByPcnumber(pcnumber);
	}

	
	
	
	
	
	
}
